<?php
include_once '../__global.php';

class aj_logout extends ml_controller {
    
    function iniParam() {
        
    }
    function checkParam() {
        $this->check_referer();
    }
    
    function main() {
        $this->loginProxy(ml_logout);
        ml_tool_actionlog::logout($this->__visitor['uid']);
        $url = '/';
        $this->redirect(ml_tool_urlMaker::op_index()); //跳转到运营首页
    }
}

new aj_logout();